const { ccclass, property } = cc._decorator;

@ccclass
export default abstract class Dialog extends cc.Component {

    public abstract init(...args: any[]);

    public closeDialog() {
        this.node.destroy();
    }
}
